package cate.game.role.pvp.pointrace.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBPointRace;
import cate.game.pvp.pointrace.data.PointRaceOpponent;
import easy.java.dev.note.NoteField;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@ClientMsg(title = "获取挑战对手 の 返回")
public class PointRaceOpponentListResp implements MsgOutput {

    @NoteField(value = "对手列表")
    public List<PointRaceOpponent> list;

    public PointRaceOpponentListResp(List<PointRaceOpponent> list) {
        this.list = list;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBPointRace.OPPONENT_LIST_RESP;
    }
}
